package org.ichamigua.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.ichihamigua.common.user.entity.UserUpdateNicknameLogEntity;
import org.ichihamigua.common.user.entity.UserUpdateUsernameLogEntity;

/**
 * @author zzy
 */
public interface UserUpdateNicknameLogService extends IService<UserUpdateNicknameLogEntity> {
    long countMonthNicknameUpdate(Long userId);

    boolean addLog(Long userId, String nickname);
}
